import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('/@/view/home.vue')
  },{
    path:'/hello',
    name:'hello',
    component: () => import('/@/components/HelloWorld.vue')
  },{
    path:'/test',
    name:'test',
    component: () => import('/@/view/test.vue')
  },{
    path:'/beforeCreate',
    name:'beforeCreate',
    component: () => import('/@/view/beforeCreate.vue')
  },{
    path:'/computed',
    name:'computed',
    component: () => import('/@/view/computed.vue')
  },{
    path:'/less',
    name:'less',
    component: () => import('/@/view/less/less.vue')
  },{
    path:'/element',
    name:'element',
    component: () => import('/@/view/element/element.vue')
  },{
    path:'/axios',
    name:'axios',
    component: () => import('/@/view/axios.vue')
  }
]

export default createRouter({
  history: createWebHashHistory(),
  routes
})